from django.conf.urls.defaults import *

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('pydemo.wiki.views',
                       
    (r'^$', 'index'),
    (r'^(?P<pagename>\w+)/$', 'index'),
    (r'^(?P<pagename>\w+)/edit/$', 'edit'),
    (r'^(?P<pagename>\w+)/save/$', 'save'),
    (r'^admin/(.*)', admin.site.root),
)
